package com.example.a2022application.bean;

public class UploadBean {

    /**
     * code : 0
     * message : 上传成功
     * data : {"filename":"file_1652148627662.docx","origname":"房屋租赁合同.docx","url":"/task/images/file_1652148627662.docx"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * filename : file_1652148627662.docx
         * origname : 房屋租赁合同.docx
         * url : /task/images/file_1652148627662.docx
         */

        private String filename;
        private String origname;
        private String url;

        public String getFilename() {
            return filename;
        }

        public void setFilename(String filename) {
            this.filename = filename;
        }

        public String getOrigname() {
            return origname;
        }

        public void setOrigname(String origname) {
            this.origname = origname;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
